Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / DXUtil Class / Write Method / Write<T>(IntPtr,T[],Int32,Int32) Method
Type of a data to write.
Memory location to write to.
The array of T data to write.
The offset in the array to read from.
The number of T element to write to the memory location.

In This Topic
    Write<T>(IntPtr,T[],Int32,Int32) Method
    In This Topic
    Writes the specified array T[] data to a memory location.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Write(Of T As {New, Struct})( _
       ByVal destination As System.IntPtr, _
       ByVal data() As T, _
       ByVal offset As System.Integer, _
       ByVal count As System.Integer _
    ) As System.IntPtr
    public static System.IntPtr Write<T>( 
       System.IntPtr destination,
       T[] data,
       System.int offset,
       System.int count
    )
    where T: new(), struct

    Parameters

    destination
    Memory location to write to.
    data
    The array of T data to write.
    offset
    The offset in the array to read from.
    count
    The number of T element to write to the memory location.

    Type Parameters

    T
    Type of a data to write.

    Return Value

    destination pointer + sizeof(T) * count.
    See Also